﻿using MediatR;
using Traceability.App.ErrorCode;

namespace Traceability.App.API.Application.Command.Slaughter
{
    /// <summary>
    /// 创建屠宰信息请求命令
    /// </summary>
    public class CreateSlaughterCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 屠宰信息批次
        /// </summary>
        public string batch_No { get; set; }
        /// <summary>
        /// 到厂均重(公斤)
        /// </summary>
        public int average_Weight { get; set; }
        /// <summary>
        /// 到厂时间
        /// </summary>
        public DateTime arrival_Time { get; set; }
        /// <summary>
        /// 屠宰时间
        /// </summary>
        public DateTime slaughter_Time { get; set; }
        /// <summary>
        /// 基本信息生产批次
        /// </summary>
        public string production_Batch { get; set; }
    }
}
